import { AutoIncrementId, PrimaryUuid, Entity, Column, BaseEntity } from '../utils';

@Entity({
    name: 'sys_casbin'
})
export class CasbinRule extends BaseEntity {
    @PrimaryUuid()
    public id: number;

    @AutoIncrementId()
    public cid: number;

    @Column({
        nullable: true,
    })
    public ptype: string;

    @Column({
        nullable: true,
    })
    public v0: string;

    @Column({
        nullable: true,
    })
    public v1: string;

    @Column({
        nullable: true,
    })
    public v2: string;

    @Column({
        nullable: true,
    })
    public v3: string;

    @Column({
        nullable: true,
    })
    public v4: string;

    @Column({
        nullable: true,
    })
    public v5: string;

    @Column({
        nullable: true,
    })
    public v6: string;
}
